package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Description 船只部位捐献日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_activity_peakseacraft_donation_log", desc = "巅峰海上争霸-船只捐献日志", autoSave = true, uploadCk = true, isCross = true)
public class LogPeakSeacraftDonation extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionId;
    @FieldTypeAnnotation(desc = "海域")
    private int area;
    @FieldTypeAnnotation(desc = "分组")
    private int groupNum;
    @FieldTypeAnnotation(desc = "捐献类型")
    private int type;
    @FieldTypeAnnotation(desc = "捐献消耗")
    private String cost;
    @FieldTypeAnnotation(desc = "捐献进度")
    private long value;
    @FieldTypeAnnotation(desc = "个人捐献前的数量")
    private long oldValue;
    @FieldTypeAnnotation(desc = "个人捐献前的数量")
    private long newValue;
    @FieldTypeAnnotation(desc = "联盟捐献前的数量")
    private long unionOldValue;
    @FieldTypeAnnotation(desc = "联盟捐献前的数量")
    private long unionNewValue;

    public LogPeakSeacraftDonation(int activityId, long userId, String unionId, int area, int groupNum, int type, String cost, long value, long oldValue, long newValue, long unionOldValue, long unionNewValue) {
        this.activityId = activityId;
        this.userId = userId;
        this.unionId = unionId;
        this.area = area;
        this.groupNum = groupNum;
        this.type = type;
        this.cost = cost;
        this.value = value;
        this.oldValue = oldValue;
        this.newValue = newValue;
        this.unionOldValue = unionOldValue;
        this.unionNewValue = unionNewValue;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    public long getOldValue() {
        return oldValue;
    }

    public void setOldValue(long oldValue) {
        this.oldValue = oldValue;
    }

    public long getNewValue() {
        return newValue;
    }

    public void setNewValue(long newValue) {
        this.newValue = newValue;
    }

    public long getUnionOldValue() {
        return unionOldValue;
    }

    public void setUnionOldValue(long unionOldValue) {
        this.unionOldValue = unionOldValue;
    }

    public long getUnionNewValue() {
        return unionNewValue;
    }

    public void setUnionNewValue(long unionNewValue) {
        this.unionNewValue = unionNewValue;
    }

    public int getArea() {
        return area;
    }

    public void setArea(int area) {
        this.area = area;
    }

    public int getGroupNum() {
        return groupNum;
    }

    public void setGroupNum(int groupNum) {
        this.groupNum = groupNum;
    }

    public String getCost() {
        return cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }
}
